package reduce.fz.com.reduce.bean;

import java.io.Serializable;

/**
 * Created by qingshengzheng on 15/11/11.
 */
public class TeamSubject implements Serializable {
    public Long subjectid;
    //小组id
    public Long teamid;
    //话题描述
    public String description;

    public Long getTeamid() {
        return teamid;
    }

    public void setTeamid(Long teamid) {
        this.teamid = teamid;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getPubtime() {
        return pubtime;
    }

    public void setPubtime(Long pubtime) {
        this.pubtime = pubtime;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    //用户对象
    public User user;
    //发布时间
    public Long pubtime;

    public Long uid;


    @Override
    public boolean equals(Object o) {
        super.equals(o);
        if ((long)subjectid == (long)(((TeamSubject) o).subjectid)) return true;
        else return false;
    }
}
